package cn.growthgate.fgo.entity.vo;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import cn.growthgate.fgo.common.base.BaseVo;
import cn.growthgate.fgo.entity.LoginLog;
import cn.growthgate.fgo.entity.User;

public class LoginLogVo extends BaseVo<LoginLog> {

	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/**
	 * 用户
	 */
	private User user;

	/**
	 * 登录时间
	 */
	private Date loginTime;

	/**
	 * 登录主机
	 */
	private String host;

	/**
	 * 操作系统
	 */
	private String os;

	/**
	 * 浏览器
	 */
	private String ua;

	/**
	 * 浏览器版本
	 */
	private String uaVersion;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getOs() {
		return os;
	}

	public void setOs(String os) {
		this.os = os;
	}

	public String getUa() {
		return ua;
	}

	public void setUa(String ua) {
		this.ua = ua;
	}

	public String getUaVersion() {
		return uaVersion;
	}

	public void setUaVersion(String uaVersion) {
		this.uaVersion = uaVersion;
	}

}
